home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
TerminalTools.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-01
|
3KB
|
130 lines
/*
File: TerminalTools.h
Contains: Communications Toolbox Terminal tools Interfaces.
Version: Technology: System 7.5
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __TERMINALTOOLS__
#define __TERMINALTOOLS__
#ifndef __DIALOGS__
#include <Dialogs.h>
#endif
#ifndef __TERMINALS__
#include <Terminals.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=mac68k
#endif
#if FOR_SYSTEM7_ONLY
enum {
tdefType = 'tdef',
tvalType = 'tval',
tsetType = 'tset',
tlocType = 'tloc',
tscrType = 'tscr',
tbndType = 'tbnd',
tverType = 'vers', /* messages */
tmInitMsg = 0,
tmDisposeMsg = 1,
tmSuspendMsg = 2,
tmResumeMsg = 3,
tmMenuMsg = 4,
tmEventMsg = 5,
tmActivateMsg = 6,
tmDeactivateMsg = 7,
tmGetErrorStringMsg = 8,
tmIdleMsg = 50,
tmResetMsg = 51,
tmKeyMsg = 100,
tmStreamMsg = 101,
tmResizeMsg = 102,
tmUpdateMsg = 103,
tmClickMsg = 104,
tmGetSelectionMsg = 105,
tmSetSelectionMsg = 106,
tmScrollMsg = 107,
tmClearMsg = 108
};
enum {
tmGetLineMsg = 109,
tmPaintMsg = 110,
tmCursorMsg = 111,
tmGetEnvironsMsg = 112,
tmDoTermKeyMsg = 113,
tmCountTermKeysMsg = 114,
tmGetIndTermKeyMsg = 115, /* messages for validate DefProc */
tmValidateMsg = 0,
tmDefaultMsg = 1, /* messages for Setup DefProc */
tmSpreflightMsg = 0,
tmSsetupMsg = 1,
tmSitemMsg = 2,
tmSfilterMsg = 3,
tmScleanupMsg = 4, /* messages for scripting defProc */
tmMgetMsg = 0,
tmMsetMsg = 1, /* messages for localization defProc */
tmL2English = 0,
tmL2Intl = 1
};
struct TMSearchBlock {
StringHandle theString;
Rect where;
TMSearchTypes searchType;
TerminalSearchCallBackUPP callBack;
short refnum;
struct TMSearchBlock * next;
};
typedef struct TMSearchBlock TMSearchBlock;
typedef TMSearchBlock *TMSearchBlockPtr;
struct TMSetupStruct {
DialogPtr theDialog;
short count;
Ptr theConfig;
short procID; /* procID of the tool */
};
typedef struct TMSetupStruct TMSetupStruct;
typedef TMSetupStruct *TMSetupPtr;
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=reset
#endif
#if PRAGMA_IMPORT_SUPPORTED
#pragma import off
#endif
#ifdef __cplusplus
}
#endif
#endif /* __TERMINALTOOLS__ */